package com.btex.app.entity;

import java.io.Serializable;
import java.util.List;

/**
 * @author zy zhangyi <zhangyi, 1104745049@QQ.com
 * @version v1.0
 * @project study1
 * @Description
 * @encoding UTF-8
 * @date 2018/8/14
 * @time 下午2:47
 * @修改记录 <pre>
 * 版本       修改人         修改时间         修改内容描述
 * --------------------------------------------------
 * <p>
 * --------------------------------------------------
 * </pre>
 */

public class OTCBuyAndSellOrderBean implements Serializable {


    /**
     * code : 1
     * data : {"bids":[{"order_id":"123704","user_id":"100003","role":"1","type":"USDT","danwei":"CNY","price":"6.42000000","num":"500.00000000","total":"3210.00000000","max_limit_total":"10000.00","min_limit_total":"100.00","rest_num":"500.00000000","pay_type":["weixin"],"pay_info":{"weixin":{"user_name":"顾千凡","img":"4f056307db562ba390b2cc7f96df9b7c","card_no":"17610816665"}},"order_type":"buy","order_status":"0","ctime":"2018-08-10 17:05:03","online_time":"2018-08-14 14:45:16","true_name":"顾**","is_online":1,"trade_num":"1","avg_time":"1M"},{"order_id":"123703","user_id":"100003","role":"1","type":"USDT","danwei":"CNY","price":"6.36000000","num":"1000.00000000","total":"6360.00000000","max_limit_total":"1500.00","min_limit_total":"200.00","rest_num":"1000.00000000","pay_type":["weixin"],"pay_info":{"weixin":{"user_name":"顾千凡","img":"4f056307db562ba390b2cc7f96df9b7c","card_no":"17610816665"}},"order_type":"buy","order_status":"0","ctime":"2018-08-10 17:04:47","online_time":"2018-08-14 14:45:16","true_name":"顾**","is_online":1,"trade_num":"1","avg_time":"1M"}],"asks":[{"order_id":"123706","user_id":"100011","role":"1","type":"USDT","danwei":"CNY","price":"6.50000000","num":"100.00000000","total":"650.00000000","max_limit_total":"650.00","min_limit_total":"100.00","rest_num":"84.61540000","pay_type":["alipay"],"pay_info":{"alipay":{"user_name":"张毅","img":"695d8765467b4a164e978d509e648b0c","card_no":"15201054691"}},"order_type":"sell","order_status":"0","ctime":"2018-08-14 12:23:56","online_time":"2018-08-14 14:31:04","true_name":"张*","is_online":0,"trade_num":"1","avg_time":"1M"},{"order_id":"123705","user_id":"100003","role":"1","type":"USDT","danwei":"CNY","price":"7.01000000","num":"300.00000000","total":"2103.00000000","max_limit_total":"5000.00","min_limit_total":"500.00","rest_num":"300.00000000","pay_type":["weixin"],"pay_info":{"weixin":{"user_name":"顾千凡","img":"4f056307db562ba390b2cc7f96df9b7c","card_no":"17610816665"}},"order_type":"sell","order_status":"0","ctime":"2018-08-10 17:05:23","online_time":"2018-08-14 14:45:16","true_name":"顾**","is_online":1,"trade_num":"1","avg_time":"1M"}],"hash":"26f65ad1e672f7e8523c2401d1bf21c3"}
     * info :
     */

    private int code;
    private DataBean data;
    private String info;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public static class DataBean {
        /**
         * bids : [{"order_id":"123704","user_id":"100003","role":"1","type":"USDT","danwei":"CNY","price":"6.42000000","num":"500.00000000","total":"3210.00000000","max_limit_total":"10000.00","min_limit_total":"100.00","rest_num":"500.00000000","pay_type":["weixin"],"pay_info":{"weixin":{"user_name":"顾千凡","img":"4f056307db562ba390b2cc7f96df9b7c","card_no":"17610816665"}},"order_type":"buy","order_status":"0","ctime":"2018-08-10 17:05:03","online_time":"2018-08-14 14:45:16","true_name":"顾**","is_online":1,"trade_num":"1","avg_time":"1M"},{"order_id":"123703","user_id":"100003","role":"1","type":"USDT","danwei":"CNY","price":"6.36000000","num":"1000.00000000","total":"6360.00000000","max_limit_total":"1500.00","min_limit_total":"200.00","rest_num":"1000.00000000","pay_type":["weixin"],"pay_info":{"weixin":{"user_name":"顾千凡","img":"4f056307db562ba390b2cc7f96df9b7c","card_no":"17610816665"}},"order_type":"buy","order_status":"0","ctime":"2018-08-10 17:04:47","online_time":"2018-08-14 14:45:16","true_name":"顾**","is_online":1,"trade_num":"1","avg_time":"1M"}]
         * asks : [{"order_id":"123706","user_id":"100011","role":"1","type":"USDT","danwei":"CNY","price":"6.50000000","num":"100.00000000","total":"650.00000000","max_limit_total":"650.00","min_limit_total":"100.00","rest_num":"84.61540000","pay_type":["alipay"],"pay_info":{"alipay":{"user_name":"张毅","img":"695d8765467b4a164e978d509e648b0c","card_no":"15201054691"}},"order_type":"sell","order_status":"0","ctime":"2018-08-14 12:23:56","online_time":"2018-08-14 14:31:04","true_name":"张*","is_online":0,"trade_num":"1","avg_time":"1M"},{"order_id":"123705","user_id":"100003","role":"1","type":"USDT","danwei":"CNY","price":"7.01000000","num":"300.00000000","total":"2103.00000000","max_limit_total":"5000.00","min_limit_total":"500.00","rest_num":"300.00000000","pay_type":["weixin"],"pay_info":{"weixin":{"user_name":"顾千凡","img":"4f056307db562ba390b2cc7f96df9b7c","card_no":"17610816665"}},"order_type":"sell","order_status":"0","ctime":"2018-08-10 17:05:23","online_time":"2018-08-14 14:45:16","true_name":"顾**","is_online":1,"trade_num":"1","avg_time":"1M"}]
         * hash : 26f65ad1e672f7e8523c2401d1bf21c3
         */

        private String hash;
        private List<BidsBean> bids;
        private List<AsksBean> asks;

        public String getHash() {
            return hash;
        }

        public void setHash(String hash) {
            this.hash = hash;
        }

        public List<BidsBean> getBids() {
            return bids;
        }

        public void setBids(List<BidsBean> bids) {
            this.bids = bids;
        }

        public List<AsksBean> getAsks() {
            return asks;
        }

        public void setAsks(List<AsksBean> asks) {
            this.asks = asks;
        }

        public static class BidsBean implements Serializable {
            /**
             * order_id : 123704
             * user_id : 100003
             * role : 1
             * type : USDT
             * danwei : CNY
             * price : 6.42000000
             * num : 500.00000000
             * total : 3210.00000000
             * max_limit_total : 10000.00
             * min_limit_total : 100.00
             * rest_num : 500.00000000
             * pay_type : ["weixin"]
             * pay_info : {"weixin":{"user_name":"顾千凡","img":"4f056307db562ba390b2cc7f96df9b7c","card_no":"17610816665"}}
             * order_type : buy
             * order_status : 0
             * ctime : 2018-08-10 17:05:03
             * online_time : 2018-08-14 14:45:16
             * true_name : 顾**
             * is_online : 1
             * trade_num : 1
             * avg_time : 1M
             */

            private String order_id;
            private String user_id;
            private String role;
            private String type;
            private String danwei;
            private String price;
            private String num;
            private String total;
            private String max_limit_total;
            private String min_limit_total;
            private String rest_num;
            private PayInfoBean pay_info;
            private String order_type;
            private String order_status;
            private String ctime;
            private String online_time;
            private String true_name;
            private int is_online;
            private String trade_num;
            private String avg_time;
            private List<String> pay_type;

            public String getOrder_id() {
                return order_id;
            }

            public void setOrder_id(String order_id) {
                this.order_id = order_id;
            }

            public String getUser_id() {
                return user_id;
            }

            public void setUser_id(String user_id) {
                this.user_id = user_id;
            }

            public String getRole() {
                return role;
            }

            public void setRole(String role) {
                this.role = role;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getDanwei() {
                return danwei;
            }

            public void setDanwei(String danwei) {
                this.danwei = danwei;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getNum() {
                return num;
            }

            public void setNum(String num) {
                this.num = num;
            }

            public String getTotal() {
                return total;
            }

            public void setTotal(String total) {
                this.total = total;
            }

            public String getMax_limit_total() {
                return max_limit_total;
            }

            public void setMax_limit_total(String max_limit_total) {
                this.max_limit_total = max_limit_total;
            }

            public String getMin_limit_total() {
                return min_limit_total;
            }

            public void setMin_limit_total(String min_limit_total) {
                this.min_limit_total = min_limit_total;
            }

            public String getRest_num() {
                return rest_num;
            }

            public void setRest_num(String rest_num) {
                this.rest_num = rest_num;
            }

            public PayInfoBean getPay_info() {
                return pay_info;
            }

            public void setPay_info(PayInfoBean pay_info) {
                this.pay_info = pay_info;
            }

            public String getOrder_type() {
                return order_type;
            }

            public void setOrder_type(String order_type) {
                this.order_type = order_type;
            }

            public String getOrder_status() {
                return order_status;
            }

            public void setOrder_status(String order_status) {
                this.order_status = order_status;
            }

            public String getCtime() {
                return ctime;
            }

            public void setCtime(String ctime) {
                this.ctime = ctime;
            }

            public String getOnline_time() {
                return online_time;
            }

            public void setOnline_time(String online_time) {
                this.online_time = online_time;
            }

            public String getTrue_name() {
                return true_name;
            }

            public void setTrue_name(String true_name) {
                this.true_name = true_name;
            }

            public int getIs_online() {
                return is_online;
            }

            public void setIs_online(int is_online) {
                this.is_online = is_online;
            }

            public String getTrade_num() {
                return trade_num;
            }

            public void setTrade_num(String trade_num) {
                this.trade_num = trade_num;
            }

            public String getAvg_time() {
                return avg_time;
            }

            public void setAvg_time(String avg_time) {
                this.avg_time = avg_time;
            }

            public List<String> getPay_type() {
                return pay_type;
            }

            public void setPay_type(List<String> pay_type) {
                this.pay_type = pay_type;
            }

            public static class PayInfoBean implements Serializable {
                /**
                 * weixin : {"user_name":"顾千凡","img":"4f056307db562ba390b2cc7f96df9b7c","card_no":"17610816665"}
                 */

                private WeixinBean weixin;
                private BankBean bank;

                private AlipayBean alipay;

                public BankBean getBank() {
                    return bank;
                }

                public void setBank(BankBean bank) {
                    this.bank = bank;
                }

                public AlipayBean getAlipay() {
                    return alipay;
                }

                public void setAlipay(AlipayBean alipay) {
                    this.alipay = alipay;
                }


                public WeixinBean getWeixin() {
                    return weixin;
                }

                public void setWeixin(WeixinBean weixin) {
                    this.weixin = weixin;
                }

                public static class WeixinBean implements Serializable {


                    /**
                     * user_name : 顾千凡
                     * img : 4f056307db562ba390b2cc7f96df9b7c
                     * card_no : 17610816665
                     */

                    private String user_name;
                    private String img;
                    private String card_no;

                    public String getUser_name() {
                        return user_name;
                    }

                    public void setUser_name(String user_name) {
                        this.user_name = user_name;
                    }

                    public String getImg() {
                        return img;
                    }

                    public void setImg(String img) {
                        this.img = img;
                    }

                    public String getCard_no() {
                        return card_no;
                    }

                    public void setCard_no(String card_no) {
                        this.card_no = card_no;
                    }

                }


                public static class BankBean implements Serializable {


                    /**
                     * user_name : 顾千凡
                     * img : 4f056307db562ba390b2cc7f96df9b7c
                     * card_no : 17610816665
                     */

                    private String user_name;
                    private String img;
                    private String card_no;

                    public String getUser_name() {
                        return user_name;
                    }

                    public void setUser_name(String user_name) {
                        this.user_name = user_name;
                    }

                    public String getImg() {
                        return img;
                    }

                    public void setImg(String img) {
                        this.img = img;
                    }

                    public String getCard_no() {
                        return card_no;
                    }

                    public void setCard_no(String card_no) {
                        this.card_no = card_no;
                    }

                }


                public static class AlipayBean implements Serializable {


                    /**
                     * user_name : 顾千凡
                     * img : 4f056307db562ba390b2cc7f96df9b7c
                     * card_no : 17610816665
                     */

                    private String user_name;
                    private String img;
                    private String card_no;

                    public String getUser_name() {
                        return user_name;
                    }

                    public void setUser_name(String user_name) {
                        this.user_name = user_name;
                    }

                    public String getImg() {
                        return img;
                    }

                    public void setImg(String img) {
                        this.img = img;
                    }

                    public String getCard_no() {
                        return card_no;
                    }

                    public void setCard_no(String card_no) {
                        this.card_no = card_no;
                    }

                }


            }
        }

        public static class AsksBean implements Serializable {
            /**
             * order_id : 123706
             * user_id : 100011
             * role : 1
             * type : USDT
             * danwei : CNY
             * price : 6.50000000
             * num : 100.00000000
             * total : 650.00000000
             * max_limit_total : 650.00
             * min_limit_total : 100.00
             * rest_num : 84.61540000
             * pay_type : ["alipay"]
             * pay_info : {"alipay":{"user_name":"张毅","img":"695d8765467b4a164e978d509e648b0c","card_no":"15201054691"}}
             * order_type : sell
             * order_status : 0
             * ctime : 2018-08-14 12:23:56
             * online_time : 2018-08-14 14:31:04
             * true_name : 张*
             * is_online : 0
             * trade_num : 1
             * avg_time : 1M
             */

            private String order_id;
            private String user_id;
            private String role;
            private String type;
            private String danwei;
            private String price;
            private String num;
            private String total;
            private String max_limit_total;
            private String min_limit_total;
            private String rest_num;
            private PayInfoBeanX pay_info;
            private String order_type;
            private String order_status;
            private String ctime;
            private String online_time;
            private String true_name;
            private int is_online;
            private String trade_num;
            private String avg_time;
            private List<String> pay_type;

            public String getOrder_id() {
                return order_id;
            }

            public void setOrder_id(String order_id) {
                this.order_id = order_id;
            }

            public String getUser_id() {
                return user_id;
            }

            public void setUser_id(String user_id) {
                this.user_id = user_id;
            }

            public String getRole() {
                return role;
            }

            public void setRole(String role) {
                this.role = role;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getDanwei() {
                return danwei;
            }

            public void setDanwei(String danwei) {
                this.danwei = danwei;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getNum() {
                return num;
            }

            public void setNum(String num) {
                this.num = num;
            }

            public String getTotal() {
                return total;
            }

            public void setTotal(String total) {
                this.total = total;
            }

            public String getMax_limit_total() {
                return max_limit_total;
            }

            public void setMax_limit_total(String max_limit_total) {
                this.max_limit_total = max_limit_total;
            }

            public String getMin_limit_total() {
                return min_limit_total;
            }

            public void setMin_limit_total(String min_limit_total) {
                this.min_limit_total = min_limit_total;
            }

            public String getRest_num() {
                return rest_num;
            }

            public void setRest_num(String rest_num) {
                this.rest_num = rest_num;
            }

            public PayInfoBeanX getPay_info() {
                return pay_info;
            }

            public void setPay_info(PayInfoBeanX pay_info) {
                this.pay_info = pay_info;
            }

            public String getOrder_type() {
                return order_type;
            }

            public void setOrder_type(String order_type) {
                this.order_type = order_type;
            }

            public String getOrder_status() {
                return order_status;
            }

            public void setOrder_status(String order_status) {
                this.order_status = order_status;
            }

            public String getCtime() {
                return ctime;
            }

            public void setCtime(String ctime) {
                this.ctime = ctime;
            }

            public String getOnline_time() {
                return online_time;
            }

            public void setOnline_time(String online_time) {
                this.online_time = online_time;
            }

            public String getTrue_name() {
                return true_name;
            }

            public void setTrue_name(String true_name) {
                this.true_name = true_name;
            }

            public int getIs_online() {
                return is_online;
            }

            public void setIs_online(int is_online) {
                this.is_online = is_online;
            }

            public String getTrade_num() {
                return trade_num;
            }

            public void setTrade_num(String trade_num) {
                this.trade_num = trade_num;
            }

            public String getAvg_time() {
                return avg_time;
            }

            public void setAvg_time(String avg_time) {
                this.avg_time = avg_time;
            }

            public List<String> getPay_type() {
                return pay_type;
            }

            public void setPay_type(List<String> pay_type) {
                this.pay_type = pay_type;
            }

            public static class PayInfoBeanX implements Serializable {

                /**
                 * alipay : {"user_name":"张毅","img":"695d8765467b4a164e978d509e648b0c","card_no":"15201054691"}
                 */


                private WeixinBean weixin;
                private BankBean bank;
                private AlipayBean alipay;
                

                public WeixinBean getWeixin() {
                    return weixin;
                }

                public void setWeixin(WeixinBean weixin) {
                    this.weixin = weixin;
                }

                public BankBean getBank() {
                    return bank;
                }

                public void setBank(BankBean bank) {
                    this.bank = bank;
                }


                public AlipayBean getAlipay() {
                    return alipay;
                }

                public void setAlipay(AlipayBean alipay) {
                    this.alipay = alipay;
                }

                public static class AlipayBean implements Serializable {

                    /**
                     * user_name : 张毅
                     * img : 695d8765467b4a164e978d509e648b0c
                     * card_no : 15201054691
                     */

                    private String user_name;
                    private String img;
                    private String card_no;

                    public String getUser_name() {
                        return user_name;
                    }

                    public void setUser_name(String user_name) {
                        this.user_name = user_name;
                    }

                    public String getImg() {
                        return img;
                    }

                    public void setImg(String img) {
                        this.img = img;
                    }

                    public String getCard_no() {
                        return card_no;
                    }

                    public void setCard_no(String card_no) {
                        this.card_no = card_no;
                    }
                }


                public static class WeixinBean implements Serializable {


                    /**
                     * user_name : 顾千凡
                     * img : 4f056307db562ba390b2cc7f96df9b7c
                     * card_no : 17610816665
                     */

                    private String user_name;
                    private String img;
                    private String card_no;

                    public String getUser_name() {
                        return user_name;
                    }

                    public void setUser_name(String user_name) {
                        this.user_name = user_name;
                    }

                    public String getImg() {
                        return img;
                    }

                    public void setImg(String img) {
                        this.img = img;
                    }

                    public String getCard_no() {
                        return card_no;
                    }

                    public void setCard_no(String card_no) {
                        this.card_no = card_no;
                    }

                }


                public static class BankBean implements Serializable {


                    /**
                     * user_name : 顾千凡
                     * img : 4f056307db562ba390b2cc7f96df9b7c
                     * card_no : 17610816665
                     */

                    private String user_name;
                    private String img;
                    private String card_no;

                    public String getUser_name() {
                        return user_name;
                    }

                    public void setUser_name(String user_name) {
                        this.user_name = user_name;
                    }

                    public String getImg() {
                        return img;
                    }

                    public void setImg(String img) {
                        this.img = img;
                    }

                    public String getCard_no() {
                        return card_no;
                    }

                    public void setCard_no(String card_no) {
                        this.card_no = card_no;
                    }

                }


            }
        }
    }
}
